package com.example.smartmedicalsystem.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class DashboardController {

    @GetMapping("/admin/dashboard")
    public String adminDashboard() {
        return "redirect:/admin.html";
    }

    @GetMapping("/doctor/dashboard")
    public String doctorDashboard() {
        return "redirect:/doctor.html";
    }

    @GetMapping("/patient/dashboard")
    public String patientDashboard() {
        return "redirect:/patient.html";
    }
}
